jQuery.extend({
    noConflict: function( deep ) {},
    getUrlParam: function(name,defaultName){
        var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
        var r = window.location.search.substr(1).match(reg);
        if (r!=null) return decodeURI(r[2]);
        return defaultName;
    },
    checkNull: function (text, component) {
        if("" == $.trim(component.val())){
            alert(text + "不可以为空!");
            component.focus();
            return true;
        }
        return false;
    },
    judgeNotNull: function (map) {
        
        for(var prop in map) {
            if($.checkNull(prop, map[prop])) {
                return false;
            }
        }
        return true;
    }
});